Skip to content

GH-49638: [CI][Packaging][Python] Pin setuptools < 80 to build oldest pandas to test on musllinux#49639

Merged
raulcd merged 5 commits intoapache:mainfrom
raulcd:GH-49638
Apr 2, 2026
Merged

GH-49638: [CI][Packaging][Python] Pin setuptools < 80 to build oldest pandas to test on musllinux#49639
raulcd merged 5 commits intoapache:mainfrom
raulcd:GH-49638

Conversation

@raulcd
Copy link
Copy Markdown
Member

@raulcd raulcd commented Apr 1, 2026

Rationale for this change

Musl Linux wheels for Python 3.10 fail to install due to newer setuptools not being able to build old pandas from source.
The version of Pandas does not have Musl Linux wheels and is the last one to support the oldest numpy we support for Python 3.10.

What changes are included in this PR?

Pin old setuptools in case of Python 3.10 in order to be able to install old pandas from source. This will be deleted in a couple of releases once we drop support for Python 3.10.

Are these changes tested?

Yes via archery

Are there any user-facing changes?

No

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 1, 2026

@github-actions crossbow submit wheel-musllinux-1-2-cp310-cp310-amd64

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Apr 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

⚠️ GitHub issue #49638 has been automatically assigned in GitHub to PR creator.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Revision: 1bd18f9

Submitted crossbow builds: ursacomputing/crossbow @ actions-fe5399c050

Task Status
wheel-musllinux-1-2-cp310-cp310-amd64 GitHub Actions

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 1, 2026

@github-actions crossbow submit wheel-musllinux-1-2-cp310-cp310-amd64

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Revision: b63eefe

Submitted crossbow builds: ursacomputing/crossbow @ actions-4231a95213

Task Status
wheel-musllinux-1-2-cp310-cp310-amd64 GitHub Actions

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 1, 2026

@github-actions crossbow submit wheel-musllinux-1-2-cp310-cp310-amd64

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Revision: b2a5354

Submitted crossbow builds: ursacomputing/crossbow @ actions-ea82c70f0d

Task Status
wheel-musllinux-1-2-cp310-cp310-amd64 GitHub Actions

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 1, 2026

@github-actions crossbow submit wheel-musllinux-*

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Revision: b2a5354

Submitted crossbow builds: ursacomputing/crossbow @ actions-4f6a26815f

Task Status
wheel-musllinux-1-2-cp310-cp310-amd64 GitHub Actions
wheel-musllinux-1-2-cp310-cp310-arm64 GitHub Actions
wheel-musllinux-1-2-cp311-cp311-amd64 GitHub Actions
wheel-musllinux-1-2-cp311-cp311-arm64 GitHub Actions
wheel-musllinux-1-2-cp312-cp312-amd64 GitHub Actions
wheel-musllinux-1-2-cp312-cp312-arm64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-amd64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-arm64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-amd64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-arm64 GitHub Actions

@raulcd raulcd marked this pull request as ready for review April 2, 2026 07:40
@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 2, 2026

@AlenkaF I am thinking on merging this to fix CI for the release. We could bump the minimum version of numpy for Python 3.10 to fix this instead but given that this is going to be around only for 24.0.0 and 25.0.0, I think this is better.

@raulcd raulcd requested a review from AlenkaF April 2, 2026 08:06
Copy link
Copy Markdown
Member

@AlenkaF AlenkaF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
(Also I learned something new - Constraints files and PIP_CONSTRAINT env var!)

@AlenkaF
Copy link
Copy Markdown
Member

AlenkaF commented Apr 2, 2026

Just one minor thing: we could add a note to remove this part once we bump the minimum version of numpy. A note could also be made on the issue for bumping numpy.

Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@github-actions github-actions bot added awaiting review Awaiting review awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Apr 2, 2026
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
@github-actions github-actions bot added awaiting review Awaiting review and removed awaiting review Awaiting review awaiting merge Awaiting merge labels Apr 2, 2026
@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented Apr 2, 2026

add a note to remove this part once we bump the minimum version of numpy. A note could also be made on the issue for bumping numpy.

Thanks @AlenkaF , I've done both, added a comment to the issue and to the code.

@raulcd raulcd merged commit 75c8ede into apache:main Apr 2, 2026
47 of 48 checks passed
@raulcd raulcd removed the awaiting review Awaiting review label Apr 2, 2026
@raulcd raulcd deleted the GH-49638 branch April 2, 2026 10:42
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 75c8ede.

There was 1 benchmark result with an error:

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

thisisnic pushed a commit to thisisnic/arrow that referenced this pull request Apr 6, 2026
…oldest pandas to test on musllinux (apache#49639)

### Rationale for this change

Musl Linux wheels for Python 3.10 fail to install due to newer setuptools not being able to build old pandas from source.
The version of Pandas does not have Musl Linux wheels and is the last one to support the oldest numpy we support for Python 3.10.

### What changes are included in this PR?

Pin old setuptools in case of Python 3.10 in order to be able to install old pandas from source. This will be deleted in a couple of releases once we drop support for Python 3.10.

### Are these changes tested?

Yes via archery

### Are there any user-facing changes?
No

* GitHub Issue: apache#49638

Lead-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants